//
//  YXLuckyLamp.m
//  彩票
//
//  Created by mac on 15-3-31.
//  Copyright (c) 2015年 mac. All rights reserved.
//

#import "YXLuckyLamp.h"

@interface YXLuckyLamp ()
@property (weak, nonatomic) IBOutlet UIImageView *lamp;

@end

@implementation YXLuckyLamp

- (void)viewDidLoad
{
    [super viewDidLoad];
   // 设置需要添加的图片
    UIImage *image1 = [UIImage imageNamed:@"lucky_entry_light0"];
    UIImage *image2 = [UIImage imageNamed:@"lucky_entry_light1"];
    self.lamp.animationImages = @[image1, image2];
    self.lamp.animationDuration = 0.5;
    [self.lamp startAnimating];
    
}

@end
